﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SGuildStruct extends Object
    {
        public var type:int;
        public var level:int;
        public var bossId:int;
        public var life:int;
        public var maxLife:int;
        public var mapId:int;
        public var x:int;
        public var y:int;
        public var direction:int;
        public var npcId:int;

        public function SGuildStruct()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.type);
            param1.writeInt(this.level);
            param1.writeInt(this.bossId);
            param1.writeInt(this.life);
            param1.writeInt(this.maxLife);
            param1.writeInt(this.mapId);
            param1.writeInt(this.x);
            param1.writeInt(this.y);
            param1.writeInt(this.direction);
            param1.writeInt(this.npcId);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.type = param1.readInt();
            this.level = param1.readInt();
            this.bossId = param1.readInt();
            this.life = param1.readInt();
            this.maxLife = param1.readInt();
            this.mapId = param1.readInt();
            this.x = param1.readInt();
            this.y = param1.readInt();
            this.direction = param1.readInt();
            this.npcId = param1.readInt();
            return;
        }// end function

    }
}
